<?php
defined('BY_JYA') or exit('error');
$_RQ['op']=$_RQ['op']?$_RQ['op']:'main';
$return=array();

if($_RQ['op']=='main'){
		
	$id = intval($_RQ['id']);
		if (empty($id)) 
		{
			
			$member = getMember($_SESSION['uid']);
		}
		else 
		{
			$member = getMember($id);
		}
		if (empty($member)) 
		{
			exi('未找到用户!', 'error', '/index/');
		}
		$return['list']=array();
		$return['mid'] = $member['id'];
		$return['mymid'] = $_SESSION['uid'];
		$return['member'] = $member;
		$return['params']=array('mid'=>$member['id']);
		exi($return);
	}
?>